
<!DOCTYPE html>
<html>
<head>
	<title>segway discovery</title>
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<meta name="viewport" content="width=device-width,user-scalable=yes" />
	<meta http-equiv="content-type" content="text/html;charset=utf-8" />
	<link rel="stylesheet" type="text/css" href="<?= $domain['static'] ?>css/common.css">
	<link rel="stylesheet" type="text/css" href="<?= $domain['static'] ?>css/swiper.min.css">
	<link rel="stylesheet" type="text/css" href="<?= $domain['static'] ?>css/pro_list.css">
	<link rel="stylesheet" type="text/css" href="<?= $domain['static'] ?>css/merchant_detail.css"></head>
<body>
<?php
// 这里是包含子模板方法
$this->load->view('consumer/templates/header');
?>


<div class="merchant_detail">
	<div class="merchant_detail_title">
	<span><?php echo $content["merchant"]["name"] ;?></span>
		<div class="merchant_detail_share"><img src="<?= $domain['static'] ?>images/like.png" alt=""></div>
		<div class="merchant_detail_lick"><img src="<?= $domain['static'] ?>images/detail_share.png" alt=""></div>
	</div>

		<div class="swiper-container merchant_detail_banner">
			<div class="swiper-wrapper">


			<?php 
			foreach ($content['merchant']['images'] as $key => $value) { ?>
					<div class="swiper-slide" style="background-image: url(<?php echo $value;?>); background-repeat: no-repeat;background-size: cover;">
					<!-- <img src="<?php echo $value;?>" alt=""> --></div>
			
			<?php } ?>


		
			</div>
			<div class="swiper-pagination"></div>
			<div class="swiper-button-next"></div>
			<div class="swiper-button-prev"></div>
		</div>

	<div class="merchant_detail_des">
		<div class="merchant_detail_tel"><?php echo $content["merchant"]["mobile"] ;?></div>
		<div class="merchant_detail_email"><?php echo $content["merchant"]["email"] ;?></div>
		<div class="merchant_detail_web"><?php echo $content["merchant"]["website"] ;?></div>
		<div class="merchant_detail_address"><?php echo $content["merchant"]["address_string"] ;?> <img class="daohang" src="<?= $domain['static'] ?>images/daohang.png" alt=""> </div>



	</div>

		<div class="merchant_detail_tours">Provided Tours</div>

		<div class="search_pro">
				<div class="search_pro_m">
					<ul class="search_pro_list">
					<?php 
					
					foreach ($content["touroutes"]["data"] as $key => $value) { ?>
						

						<li>
							<a href="/touroute/detail/<?php echo $value["id"];?>">
								<div class="search_pro_img">
									<img src="<?php echo $value["cover"];?>" alt=""></div>
								<div class="search_t">
									<h2 class="search_pro_title"><?php echo $value["name"];?></h2>
									<!-- <div class="book">Book</div> -->
								</div>
								<div class="search_pro_list_des">
									<p class="money"><img src="<?= $domain['static'] ?>images/money.jpg" alt=""><span><?php echo $value["retail_cny"];?></span></p>
									<p class="time"><img src="<?= $domain['static'] ?>images/time.jpg" alt=""><span><?php echo $value["duration"];?> hours</span></p>
									<p class="love"><img src="<?= $domain['static'] ?>images/love.jpg" alt=""></p>
									<p class="share"><img src="<?= $domain['static'] ?>images/share.jpg" alt=""></p>
								</div>
							</a>
						</li>

					<?php } ?>


						
						
					</ul>
				</div>
			</div>
</div>




<?php
// 这里是包含子模板方法
$this->load->view('consumer/templates/footer');
?>

	<script type="text/javascript" src="<?= $domain['static'] ?>js/swiper.min.js"></script>
	<script type="text/javascript" src="<?= $domain['static'] ?>js/Validform_v5.1_min.js"></script>

	<script src="<?= $domain['static'] ?>js/cookie.js"></script> 
	<script type="text/javascript" src="<?= $domain['static'] ?>js/common.js"></script>
<!-- 	<script type="text/javascript" src="<?= $domain['static'] ?>js/search.js"></script>
	<script type="text/javascript" src="<?= $domain['static'] ?>js/search_res.js"></script> -->
	<script type="text/javascript" src="<?= $domain['static'] ?>js/merchant_detail.js"></script>
</body>
</html>
